<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>Common window ui plugins of miniYUI - 轻量级JS框架(精简自YUI等多个优秀的Javascript框架的基础部分)</title>
    <meta name="description" content="为广大web前端开发者提供轻量级的优秀的Javascript框架" />
    <meta name="keywords" content="alert ui plugin,miniYUI,YUI,prototype,easyUI,web前端开发,javascript框架" />
    <link rel="stylesheet" type="text/css" href="/oc9/miniYUI.css" />
    <link rel="stylesheet" type="text/css" href="window.css" />
</head>
<?php
$module = isset($_GET['module']) ? $_GET['module'] : 'alert';
?>
<body>
    <?php
    if ($module == 'alert') {include_once 'mask.html';include_once 'alert.html';}
    ?>
    <?php if ($module == 'loading') {include_once 'loading.html';} ?>
    <script type="text/javascript" src="http://miniyui.googlecode.com/files/miniyui-v1.61-min.js"></script>
    <script type="text/javascript" src="window.js"></script>
    <script type="text/javascript">
        <?php if ($module == 'alert') { ?>
        miniYUI.win.alert('Tip', 'Hello world');
        miniYUI.win.onClose(function(){miniYUI.win.mask(false);});
        miniYUI.win.mask(true);
        <?php }else if ($module == 'loading') { ?>
        miniYUI.win.showLoading();
        <?php } ?>
    </script>
</body>
</html>
